package com.site.wisdom_construction.entity.healthEpidemicModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-05-09 
 */
@ApiModel (value ="定位手环电子围栏表实体类", description="WristbandElectronicFence")
public class WristbandElectronicFence {
	/**
	 * 定位手环电子围栏ID
	 */
   	@ApiModelProperty(value = "定位手环电子围栏ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 围栏名称
	 */
   	@ApiModelProperty(value = "围栏名称", name = "fenceName")
	private String fenceName;

	/**
	 * 围栏中心位置纬度
	 */
   	@ApiModelProperty(value = "围栏中心位置纬度", name = "lon")
	private String lon;

	/**
	 * 围栏中心位置经度
	 */
   	@ApiModelProperty(value = "围栏中心位置经度", name = "lat")
	private String lat;

	/**
	 * 半径
	 */
   	@ApiModelProperty(value = "半径", name = "radius")
	private String radius;

	/**
	 * 创建时间
	 */
   	@ApiModelProperty(value = "创建时间", name = "updateTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

	public WristbandElectronicFence(){ super(); }

	public WristbandElectronicFence(Integer id, Integer projectId, String fenceName, String lon, String lat, String radius, Date updateTime) {
		this.id = id;
		this.projectId = projectId;
		this.fenceName = fenceName;
		this.lon = lon;
		this.lat = lat;
		this.radius = radius;
		this.updateTime = updateTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getFenceName() {
		return this.fenceName;
	}

	public void setFenceName(String fenceName) {
		this.fenceName = fenceName;
	}

	public String getLon() {
		return this.lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}

	public String getLat() {
		return this.lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getRadius() {
		return this.radius;
	}

	public void setRadius(String radius) {
		this.radius = radius;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", fenceName='" + fenceName + '\'' +
				", lon='" + lon + '\'' +
				", lat='" + lat + '\'' +
				", radius='" + radius + '\'' +
				", updateTime=" + updateTime +
				'}';
	}
}
